package de.hsma.srn.model.account;

import de.hsma.srn.model.user.UserModel;


public class AccountModel extends java.util.Observable {
	private UserModel mCurrentUser;
	private String mPassword;
	
	public UserModel getUser() {
		return this.mCurrentUser;
	}
	
	public String getUserName() {
		return this.mCurrentUser.getUserName();
	}
	
	public String getPassword() {
		return this.mPassword;
	}
	
	public AccountModel(UserModel user, String password) {
		this.mCurrentUser = user;
		this.mPassword = password;
	}
}
